package com.gitee.loyo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties("bridge")
public class ApiBridgeConfig {
    private boolean enable = false;
    private ConfigClient client = new ConfigClient();
    private ConfigRemote remote = new ConfigRemote();


    @Data
    public static class ConfigClient{
        private String name;
    }

    @Data
    public static class ConfigRemote{
        private String host;
        private Integer port;
    }
}
